<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/head.jsp"%>
<c:if test="${empty SESSION_BEAN }">
<script type="text/javascript" language="javascript">
	top.location.href='${pageContext.request.contextPath}/exit.jsp';
</script>
</c:if>
<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="utf-8">
	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
	<title>${appTitle}</title>
<%@ include file="../common/js.jsp"%>
	<meta name="referrer" content="no-referrer">
</head>
<%String[] sysicons=new String[]{"database","bookmark","coffee","leaf","star","tag","ticket","window-maximize","rocket","th-large","th-list","calendar-o"};int sysiconindex=0; %>
<body>
<div id="bjui-window">
    <div id="bjui-container">
        <div id="bjui-leftside">
            <div id="bjui-sidebar-s">
                <div class="collapse"></div>
            </div>
            <div id="bjui-sidebar">
                <div class="toggleCollapse h4">
                    <span class="logo-lg">
                        <div style="font-size: 16px;text-align: center;line-height:2.9">${appTitle}</div>
                        <!-- <img src="./assets/img/logo-big.png" class="img-responsive center-block"> -->
                    </span>
                    <span class="logo-min">
                        <div style="font-size: 28px;text-align: center;line-height: 1.8"></div>
                    </span>
                </div>
                <div class="panel-group panel-main" data-toggle="accordion" id="bjui-accordionmenu" data-heightbox="#bjui-sidebar" data-offsety="26">
                    <ul class="sidebar-menu">
                        <li onclick="refresh_mainTab(this)"><a href="#"> <i class="fa fa-th-large"></i> <span>主面板</span></a></li>

<!--                         <li><a href="bjui-doc/form-button.html" data-reload="true" data-autorefresh="true" data-reload="true" data-autorefresh="true" data-options="{id:'form-button', fresh:true, faicon:'hand-o-up', fresh:true}"><i class="fa fa-home"></i> <span>单独目录</span></a></li> -->
					<c:if test="${SESSION_BEAN.role=='SysUser' }">
                        <li class="menu-items-tree">
                            <a href="#"><i class="fa fa-<%=sysicons[sysiconindex++]%>"></i> <span>教学评价</span></a><span class="b"><i class="fa fa-angle-down"></i></span>
                            <ul class="menu-items">
                                <li><a href="${ctx}/sys/queryTeacherScore.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>教学评价</a></li>    
                                <li><a href="${ctx}/sys/queryItemCheck.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>评价记录</a></li>    
                                <li><a href="${ctx}/sys/queryItem.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>评价指标</a></li>    
                            </ul>
                        </li>
                        <li class="menu-items-tree">
                            <a href="#"><i class="fa fa-<%=sysicons[sysiconindex++]%>"></i> <span>用户管理</span></a><span class="b"><i class="fa fa-angle-down"></i></span>
                            <ul class="menu-items">
                                <li><a href="${ctx}/sys/queryTeacher.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>教师管理</a></li>    
                                <li><a href="${ctx}/sys/querySimpleUser.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>学生管理</a></li>    
                                <li><a href="${ctx}/sys/querySysUser.do" data-reload="true" data-autorefresh="true" 
                                		data-options="{id:'querySimpleUser', fresh:true, faicon:'terminal'}"><i class="fa fa-angle-right"></i>管理员管理</a></li>
                            </ul>
                        </li>
                        <li class="menu-items-tree">
                            <a href="#"><i class="fa fa-<%=sysicons[sysiconindex++]%>"></i> <span>系统管理</span></a><span class="b"><i class="fa fa-angle-down"></i></span>
                            <ul class="menu-items">
                                <li><a href="${ctx}/sys/queryNews.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>系统公告</a></li>    
                                <li><a href="${ctx}/sys/queryCourse.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>课程管理</a></li>    
                                <li><a href="${ctx}/sys/queryClazz.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>班级管理</a></li>    
                                <li><a href="${ctx}/sys/querySpec.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>系部管理</a></li>    
                                <li><a href="${ctx}/sys/queryDatabaseFile.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>数据管理</a></li>    
                            </ul>
                        </li>
                    </c:if>
					<c:if test="${SESSION_BEAN.role=='SimpleUser' }">
                        <li class="menu-items-tree">
                            <a href="#"><i class="fa fa-<%=sysicons[sysiconindex++]%>"></i> <span>系统管理</span></a><span class="b"><i class="fa fa-angle-down"></i></span>
                            <ul class="menu-items">
                                <li><a href="${ctx}/sys/queryCourseOfStudent.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>我的课程</a></li> 
                                <li><a href="${ctx}/sys/queryNewsAll.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>系统公告</a></li> 
                            </ul>
                        </li>
                    </c:if>
					<c:if test="${SESSION_BEAN.role=='Teacher' }">
                        <li class="menu-items-tree">
                            <a href="#"><i class="fa fa-<%=sysicons[sysiconindex++]%>"></i> <span>系统管理</span></a><span class="b"><i class="fa fa-angle-down"></i></span>
                            <ul class="menu-items">
                            	<li><a href="${ctx}/sys/queryTeacherScore.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>教学评价</a></li>    
                                <li><a href="${ctx}/sys/queryNewsAll.do" data-reload="true" data-autorefresh="true" 
                                		data-reload="true" data-autorefresh="true" data-options="{id:'querySimpleUser', fresh:true, faicon:'hand-o-up'}"><i class="fa fa-angle-right"></i>系统公告</a></li> 
                            </ul>
                        </li>
                    </c:if>
                    </ul>
                </div>
            </div>
        </div>
        <div id="window-shadow">
            <div class="catalog-tip" id="catalog-tip">
                <p class="catalog-tip-txt">轻触这里</p>
                <p class="catalog-tip-txt">关闭目录</p>
                <i class="fa fa-hand-pointer-o layout-icons_hand" aria-hidden="true"></i>
            </div>
        </div>
        <div id="bjui-navtab" class="tabsPage">
            <header id="bjui-header">
                <a href="#" class="sidebar-toggle" role="button" id="menu_lock">
                    <span class="glyphicon glyphicon-align-justify" aria-hidden="true"></span>
                </a>
                <nav id="bjui-navbar-collapse">
                    <ul class="bjui-navbar-right">
                        <li style="border-right:0px">
                        <img alt="" src="${ctx}/resource/${SESSION_BEAN.user.photo}" style="border-radius:0.1em;" width="33px" onerror="javascript:this.src='${ctx}/resource/no-head.png'">
                         </li>
                        <li>
                        <a href="javascript:;">${SESSION_BEAN.user.role}：<span id="username__gangbao_7728">${SESSION_BEAN.user.userName } (${SESSION_BEAN.user.uname })</span></a></li>
<!--                         <li><a href="#" data-toggle="dialog" data-id="message" data-url="bank.php" data-height="500" data-width="900" data-title="消息">预警信息 <span class="badge" id="message-count">0</span></a></li> -->
                        <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">我的账户 <span class="caret"></span></a>
                            <ul class="dropdown-menu" role="menu">
                                <li><a href="${ctx}/jsp/msg/modifySelfPassword.jsp" data-toggle="dialog" data-id="changepwd_page" data-mask="true" data-width="500" data-height="260">&nbsp;<span class="glyphicon glyphicon-lock"></span> 修改密码&nbsp;</a></li>
                                <li><a href="${ctx}/com/toSelf.do" data-toggle="dialog" data-id="changepwd_page" data-mask="true" data-width="700" data-height="560">&nbsp;<span class="glyphicon glyphicon-user"></span> 个人资料&nbsp;</a></li>
                                <li class="divider"></li>
                                <li><a href="${ctx}/com/logout.do"  class="red">&nbsp;<span class="glyphicon glyphicon-off"></span> 注销登录</a></li>
                            </ul>
                        </li>
                    </ul>
                </nav>
                <i id="navbar-collapse-cogs" class="fa fa-cogs" aria-hidden="true"></i>
            </header>
            <div class="tabsPageHeader">
                <div class="tabsPageHeaderContent">
                    <ul class="navtab-tab nav nav-tabs">
                        <li data-url="${ctx}/jsp/content.jsp"><a href="javascript:;"><span><i class="fa fa-home"></i> #maintab#</span></a></li>
                    </ul>
                </div>
                <div class="tabsLeft"><i class="fa fa-angle-double-left"></i></div>
                <div class="tabsRight"><i class="fa fa-angle-double-right"></i></div>
                <div class="tabsMore"><i class="fa fa-angle-double-down"></i></div>
            </div>
            <ul class="tabsMoreList">
                <li><a href="javascript:;">#maintab#</a></li>
            </ul>
            <div class="navtab-panel tabsPageContent" style="width:100%">
                <div class="navtabPage unitBox">
                    <div class="bjui-pageContent" style="background:#FFF;padding:0 10px;">
                        	加载中...
                    </div>
                </div>
            </div>
        </div>
    </div>
    <footer id="bjui-footer">Copyright &copy; 2023  <a href="${ctx}/">返回首页</a></footer>
</div>
</body>
</html>